﻿@model IEnumerable<ABCTile.Models.Manufacture>

@{
    ViewBag.Title = "Index";
}

    <h2>Manufacture Index</h2>

    <p>
        @Html.ActionLink("Create New", "Create")
    </p>
    <table>
        <tr>
            <th>
                Name
            </th>
            <th>
                Street
            </th>
            <th>
                City
            </th>
            <th>
                Zip
            </th>
            <th>
                State
            </th>
            <th></th>
        </tr>

    @foreach (var item in Model) {
        <tr>
            <td>
                @Html.DisplayFor(modelItem => item.Name)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Street)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.City)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Zip)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.State)
            </td>
            <td>
                @Html.ActionLink("Edit", "Edit", new { id=item.ManufactureID }) |
                @Html.ActionLink("Details", "Details", new { id=item.ManufactureID }) |
                @Html.ActionLink("Delete", "Delete", new { id=item.ManufactureID })
            </td>
        </tr>
    }

    </table>
